﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace SMS.Domain.Entities
{
    public class Ong : Auditable
    {
        public int OngId { get; set; }

        [Required()]
        [StringLength(10)]
        public string Cif { get; set; }

        [Required()]
        [StringLength(100)]
        public string Nombre { get; set; }

        [StringLength(100)]
        public string Web { get; set; }

        [StringLength(1000)]
        public string Objetivo { get; set; }

        
        public string Logo { get; set; }
        //Propiedad de navegación.
        public virtual ICollection<OngDelegacion> OngDelegaciones { get; set; }
    }
}
